package cn.stylefeng.guns.modular.my.web;

import java.util.Date;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test")
public class TestAction {

	@RequestMapping("t1")
	public String t1(Model model) {
		model.addAttribute("name", "张三");
		model.addAttribute("ctime", new Date());
		return "/my/test1.html";
	}
}
